<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/11/16
  Time: 11:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <link type="text/css" rel="stylesheet" href="test3.css" />
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <!-- <link type="text/css" rel="stylesheet" href="test3.css" />-->
    <!--<script type="text/javascript" src="<c:url value="/js/jquery-1.5.1.js" />">
    </script>-->
    <%
        request.setCharacterEncoding("utf-8");
    %>
    <script>
        window.onload=function(){
            document.getElementById("spanShowUserName").innerText=decodeURIComponent("${param.userName}");
            document.getElementById("inputUserName").value=decodeURIComponent("${param.userName}");
        }

    </script>
</head>
<body>
<div class="divBody">
    <div class="divTitle">用户名</div><div class="divPage">1</div>
    <span class="userNameShow" id="spanShowUserName"></span>
    <div class="showInput">
        <form action="test3_4.jsp" method="post">
        <div>昵称：<input type="text" name="showName"></div>
            <input type="hidden"  name="userName" id="inputUserName">
        <div><input type="submit" value="提交" class="sub" ></div>
        </form>
    </div>

</div>
</body>
</html>
